package com.sy.service.inventory.inOutWarehouse;

import com.sy.bean.inventory.InOutWarehouse.OutInWarehouse;
import com.sy.bean.inventory.InOutWarehouse.OutInWarehouseDetail;
import com.sy.bean.inventory.InOutWarehouse.param.UpdateHouseParam;
import com.sy.common.crud.IService;

public interface OutInWarehouseService extends IService<OutInWarehouse> {
    /**
     * 查看出入库详情
     * @param id 出入库id
     * @return 结果
     */
    OutInWarehouseDetail queryDetail(int id);

    /**
     * 确认出库
     * @param param 参数
     * @return 结果
     */
    int outHouse(UpdateHouseParam param);

    /**
     * 删除出入库
     * @param id 出入库id
     * @return 结果
     */
    int delete(int id);
}
